package router

import (
	"github.com/gin-gonic/gin"
	"video_client/basic/config"
	"video_client/handler/api"
	utils "video_client/utlis"
)

func WorkModel(r *gin.RouterGroup) {
	workModel := r.Group("work")
	{
		workModel.Use(utils.JWTAuth(config.JWT_SELECT_KEY))
		workModel.POST("/homeDisplay", api.HomeDisplay)
		workModel.POST("/createWork", api.CreateWork)
	}
}
